package com.li.service;

import com.li.dao.TBUserMapper;
import com.li.pojo.ReturnMessage;
import com.li.pojo.TBUser;
import com.li.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TBUserServiceImpl implements TBUserService{
    @Autowired
    private TBUserMapper tbUserMapper;
    @Override
    public int deleteUser() {
        return 1;
    }

    @Override
    public int updateUser(TBUser user) {
        return 1;
    }

    @Override
    public List<TBUser> selectAllUsers() {
        return tbUserMapper.selectAllUsers();
    }
}
